|
|
|
|
|
|
|
Except for the MDI form, frmMDI, and the forms frmCancelTransaction and frmCheckAccountStatus, each of these forms has the Done and Undo buttons. The forms frmCancelTransaction and frmCheckAccountStatus have only a Done button. |
|
|
|
|
|
|
|
|
frmCancelTransaction has the field List of Transactions. frmCheckAccountStatus has the field Combo List of Accounts by Account Number (user selects one) and the field Status. |
|
|
|
|
|
|
|
|
The MDI form, frmMDI, has a menu that will also invoke the methods of every controller class. Every controller's showForm() method must have a corresponding menu item because use cases in a GUI-based system are executed through each form. Because you later discover that the MDI form can access several controllers, you create a class, MDIController. |
|
|
|
|
|
|
|
|
You probably noticed that the use case Processing Funds Transaction doesn't have any forms associated with it. This is intentional because this use case requires special attention. This use case is triggered by changes in the state of a transaction. For instance, when the teller enters all the required information for opening an account, the teller clicks a Done or Submit button. This stimulus triggers a change in state of the account-opening transaction, from something like New to In Process. Let's reexamine the usecase description. |
|
|
|
 |
|
|
|
|
The application prompts the teller for the account number. When the teller provides the account number, the application verifies that the account is still active and prompts the teller to verify that the customer is authorized to deposit to or withdraw funds from the account. If so, the application displays details about the account, including the customer's full name, Social Security number, account status, and account balance. The teller enters the amount of the transaction and applies it. The application persists the transaction to the account repository. |
|
|
|
 |
|
|
|
|
If the customer isn't authorized to deposit money in or withdraw money from the account, the application notifies the teller. Perform the use case Canceling a Transaction. |
|
|
|
 |
|
|
|
|
If the amount being deposited exceeds $10,000 in cash, the application notifies the bank teller that the amount exceeds the federally mandated limit regarding such cash transactions. The application then presents to the bank teller the required cash deposit record form online, transferring the information from the application. When the bank teller completes reviewing the form, the bank teller indicates to the application that the form is correct. The form is printed out for the customer's signature. |
|
|
|
 |
|
|
|
|
If the deposit is in the form of a check, the teller notifies the application. The application validates the policy for the deposit and informs the teller to notify the customer |
|
|
|
|
|